package com.winshare.saleAssistant.domain.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@ApiModel
public class HeadImageDTO {

    @NotBlank(message = "头像url不能为空")
    @Length(min = 1, max = 120, message = "头像url长度需要在1-120个字之间")
    @ApiModelProperty(value = "头像url")
    private String imageUrl;

    public HeadImageDTO() {
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }
}
